<!DOCTYPE html>
<html lang="en">
<head>
    <meta name="layout" content="wechat"/>
    <title>贷款申请</title>
</head>

<body>

<div class="wxAutoCreat">
    <form action="wxCreate3Step3" id="wxCreate3Form1" method="post" class="wxCreate3Form1">
        <input type="hidden" name="openId" value="${this.leads?.openId}"/>
        <input type="hidden" name="leadsId" value="${this.leads?.id}"/>
        <input type="hidden" id="city" name="city" value=""/>
        <input type="hidden" id="district" name="district" value=""/>

        <div class="bgcWhite wxCreate weui-cells weui-cells_form">
            <div class="weui-cell">
                <div class="weui-cell__hd"><label
                        class="weui-label">姓&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;名</label></div>

                <div class="weui-cell__bd weui-cell_primary">
                    <g:textField class="weui-input" type="text" name="fullName" id="fullName"
                                 value="${this.contact.fullName}" autofocus="autofocus"/>
                </div>
            </div>

            <div class="weui-cell">
                <div class="weui-cell__hd"><label class="weui-label">手&nbsp;&nbsp;机&nbsp;&nbsp;号</label></div>

                <div class="weui-cell__bd weui-cell_primary">
                    <g:field class="weui-input" type="number" name="cellphone" id="cellphone"
                             value="${this.contact.cellphone}"/>
                </div>

            </div>

            <div class="weui-cell  weui-cell_select weui-cell_select-after" style="padding-left: 15px">
                <div class="weui-cell__hd"><label class="weui-label">贷款类型</label></div>

                <div class="weui-cell__bd weui-cell_primary">
                    <g:select class="weui-select" name="loanType" id="loanType" from="['按揭', '消费', '经营']" value=""
                              noSelection="['': '请选择贷款类型']"/>
                </div>
            </div>

            <div class="weui-cell">
                <div class="weui-cell__hd"><label class="weui-label">贷款金额</label></div>

                <div class="weui-cell__bd weui-cell_primary">
                    <g:textField class="weui-input" type="text" id="requestedAmount" name="requestedAmount" value=""
                                 placeholder="请输入贷款金额" autocomplete="off"/>
                </div>

                <div class="weui-cell__hd"><label class="weui-label area-symbol">万元</label></div>

            </div>

            <div class="weui-cell weui-cell_select weui-cell_select-after">
                <div class="weui-cell__hd"><label class="weui-label">所在城市</label></div>

                <div class="weui-cell__bd weui-cell_primary">
                    <input class="weui-input" id="province" name="province" type="text" placeholder="请选择">
                </div>
            </div>

            <div class="weui-cell weui-cell_select weui-cell_select-after">
                <div class="weui-cell__hd"><label class="weui-label">银行网点</label></div>

                <div class="weui-cell__bd weui-cell_primary">
                    <g:select class="weui-select accountList" name="accountName" id="account" from="['银行网点']"
                              noSelection="['': '请选择']"/>
                </div>
            </div>
        </div>

        <div class="bigBtn">
            <button type="button" class="linkBtn weui-btn weui-btn_plain_default" id="wxcreate3Step1Btn">申请贷款</button>
        </div>
    </form>
</div>



%{--提示信息和验证--}%
<div class="message-box" style="top: 20%;">
    <div class="helpMsg hide"></div>
    <g:if test="${flash.message}">
        <div class="message" role="status">
            ${flash.message}
        </div>
    </g:if>
</div>

<asset:javascript src="wechat/create3Step1.js"/>

</body>
</html>
